package cn.edu.lingnan.lsqn.service;

import java.util.List;

import cn.edu.lingnan.lsqn.model.Candidate;
import cn.edu.lingnan.lsqn.model.CandidateType;

public interface ICandidateService {

	public void add(Candidate ctype);

	public void delete(int id);

	public void update(Candidate ctype);

	public Candidate load(int id);

	public List<Candidate> listByCandidateType(CandidateType type);

	public void addVote(int id);

	public void cutVote(int id);
}
